package com.bear.newsset.entity;

import java.io.Serializable;

/**
 * 请求到的新闻实体
 */
public class RequestNewsEntity implements Serializable {
    private int status;
    private String pageToken;
    private boolean hasNext;
    private String appCode;
    private String dataType;
    private String retcode;
    private Object data;

    @Override
    public String toString() {
        return "RequestNewsEntity{" +
                "status=" + status +
                ", pageToken='" + pageToken + '\'' +
                ", hasNext=" + hasNext +
                ", appCode='" + appCode + '\'' +
                ", dataType='" + dataType + '\'' +
                ", retcode='" + retcode + '\'' +
                ", data=" + data +
                '}';
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getPageToken() {
        return pageToken;
    }

    public void setPageToken(String pageToken) {
        this.pageToken = pageToken;
    }

    public boolean isHasNext() {
        return hasNext;
    }

    public void setHasNext(boolean hasNext) {
        this.hasNext = hasNext;
    }

    public String getAppCode() {
        return appCode;
    }

    public void setAppCode(String appCode) {
        this.appCode = appCode;
    }

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public String getRetcode() {
        return retcode;
    }

    public void setRetcode(String retcode) {
        this.retcode = retcode;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
